﻿using System.Collections.Generic;

namespace Services.Models {

    public class MatchModel {

        public string Id { get; set; }
        public string League { get; set; }
        public string Round { get; set; }
        public string Stadium { get; set; }
        public string Time { get; set; }
        public string Date { get; set; }

        public string HomeTeamId { get; set; }
        public string HomeTeam { get; set; }
        public string HomeGoals { get; set; }
        public string HomeFormation { get; set; }
        public string HomeLineupsGoalkeeper { get; set; }
        public List<string> HomeLineupsDefence { get; set; }
        public List<string> HomeLineupsMidfield { get; set; }
        public List<string> HomeLineupsForward { get; set; }
        public List<EventModel> HomeScorers { get; set; }
        public List<EventModel> HomeYellowCards { get; set; }
        public List<EventModel> HomeRedCards { get; set; }
        public List<EventModel> HomeSubsIn { get; set; }
        public List<EventModel> HomeSubsOut { get; set; }

        public string AwayTeamId { get; set; }
        public string AwayTeam { get; set; }
        public string AwayGoals { get; set; }
        public string AwayFormation { get; set; }
        public string AwayLineupsGoalkeeper { get; set; }
        public List<string> AwayLineupsDefence { get; set; }
        public List<string> AwayLineupsMidfield { get; set; }
        public List<string> AwayLineupsForward { get; set; }
        public List<EventModel> AwayScorers { get; set; }
        public List<EventModel> AwayYellowCards { get; set; }
        public List<EventModel> AwayRedCards { get; set; }
        public List<EventModel> AwaySubsIn { get; set; }
        public List<EventModel> AwaySubsOut { get; set; }

        public string HomeOdds { get; set; }
        public string DrawOdds { get; set; }
        public string AwayOdds { get; set; }
    }

    public class EventModel {
        public string Time { get; set; }
        public string Player { get; set; }
    }

    public class MatchShortModel {
        public string Id { get; set; }
        public string Time { get; set; }
        public string HomeTeamId { get; set; }
        public string HomeTeam { get; set; }
        public string HomeGoals { get; set; }
        public string AwayTeamId { get; set; }
        public string AwayTeam { get; set; }
        public string AwayGoals { get; set; }
    }

    public class PlayerModel {
        public string Palyer { get; set; }
        public string Position { get; set; }
        public List<EventModel> Events { get; set; }
    }

    public class LeagueWithMatchesModel {
        public string League { get; set; }
        public List<MatchShortModel> Matches { get; set; }
    }
}
